/**
 * 
 */
package com.kkks.spring_rest.tick.utils;


    /**     
 * @author SC       
 * @version 1.0     
 * @created 2012-7-12 下午2:09:16    
 * @describe 静态常量类
 */
public class ConstantUtils {

	private final static String hibernateTemplateBaseDaoImpl_flag_and = " and ";
	private final static String hibernateTemplateBaseDaoImpl_flag_or = " or ";
	
	public final static String  OPERATE_TYPE_ADD = "0";
	public final static String  OPERATE_TYPE_UPDATE = "1";
	public final static String  OPERATE_TYPE_DELETE = "2";
	
	public final static String  RESULT_FAILED = "0";
	public final static String  RESULT_SUCCESS = "1";
	
	public final static String USER_INFO_SESSION = "userSessionInfo";
	
	
	
	
	
	
	
	
	
	public static String getHibernateTemplateBaseDaoImpl_flag_and() {
		return hibernateTemplateBaseDaoImpl_flag_and;
	}
	public static String getHibernateTemplateBaseDaoImpl_flag_or() {
		return hibernateTemplateBaseDaoImpl_flag_or;
	}
	public static String getOperateTypeAdd() {
		return OPERATE_TYPE_ADD;
	}
	public static String getOperateTypeUpdate() {
		return OPERATE_TYPE_UPDATE;
	}
	public static String getOperateTypeDelete() {
		return OPERATE_TYPE_DELETE;
	}
	public static String getResultFailed() {
		return RESULT_FAILED;
	}
	public static String getResultSuccess() {
		return RESULT_SUCCESS;
	}
	public static String getUserInfoSession() {
		return USER_INFO_SESSION;
	}
	
	
	
	
	
	
	
}
